/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package com.googlecode.mailnet.emf.netmodel;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Link Model</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getSource <em>Source</em>}</li>
 *   <li>{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getDestination <em>Destination</em>}</li>
 *   <li>{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getCapacityDistribution <em>Capacity Distribution</em>}</li>
 *   <li>{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getPackageCorruptionProbability <em>Package Corruption Probability</em>}</li>
 *   <li>{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getDelay <em>Delay</em>}</li>
 *   <li>{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getFailureProbability <em>Failure Probability</em>}</li>
 *   <li>{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getFailureDurationDistribution <em>Failure Duration Distribution</em>}</li>
 *   <li>{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getName <em>Name</em>}</li>
 * </ul>
 * </p>
 *
 * @see com.googlecode.mailnet.emf.netmodel.NetmodelPackage#getLinkModel()
 * @model
 * @generated
 */
public interface LinkModel extends EObject {
	/**
	 * Returns the value of the '<em><b>Source</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Source</em>' reference.
	 * @see #setSource(NodeModel)
	 * @see com.googlecode.mailnet.emf.netmodel.NetmodelPackage#getLinkModel_Source()
	 * @model required="true"
	 * @generated
	 */
	NodeModel getSource();

	/**
	 * Sets the value of the '{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getSource <em>Source</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Source</em>' reference.
	 * @see #getSource()
	 * @generated
	 */
	void setSource(NodeModel value);

	/**
	 * Returns the value of the '<em><b>Destination</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Destination</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Destination</em>' reference.
	 * @see #setDestination(NodeModel)
	 * @see com.googlecode.mailnet.emf.netmodel.NetmodelPackage#getLinkModel_Destination()
	 * @model required="true"
	 * @generated
	 */
	NodeModel getDestination();

	/**
	 * Sets the value of the '{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getDestination <em>Destination</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Destination</em>' reference.
	 * @see #getDestination()
	 * @generated
	 */
	void setDestination(NodeModel value);

	/**
	 * Returns the value of the '<em><b>Capacity Distribution</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Capacity Distribution</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Capacity Distribution</em>' reference.
	 * @see #setCapacityDistribution(DistributionModel)
	 * @see com.googlecode.mailnet.emf.netmodel.NetmodelPackage#getLinkModel_CapacityDistribution()
	 * @model required="true"
	 * @generated
	 */
	DistributionModel getCapacityDistribution();

	/**
	 * Sets the value of the '{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getCapacityDistribution <em>Capacity Distribution</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Capacity Distribution</em>' reference.
	 * @see #getCapacityDistribution()
	 * @generated
	 */
	void setCapacityDistribution(DistributionModel value);

	/**
	 * Returns the value of the '<em><b>Package Corruption Probability</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Package Corruption Probability</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Package Corruption Probability</em>' attribute.
	 * @see #setPackageCorruptionProbability(double)
	 * @see com.googlecode.mailnet.emf.netmodel.NetmodelPackage#getLinkModel_PackageCorruptionProbability()
	 * @model required="true"
	 * @generated
	 */
	double getPackageCorruptionProbability();

	/**
	 * Sets the value of the '{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getPackageCorruptionProbability <em>Package Corruption Probability</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Package Corruption Probability</em>' attribute.
	 * @see #getPackageCorruptionProbability()
	 * @generated
	 */
	void setPackageCorruptionProbability(double value);

	/**
	 * Returns the value of the '<em><b>Delay</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Delay</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Delay</em>' attribute.
	 * @see #setDelay(int)
	 * @see com.googlecode.mailnet.emf.netmodel.NetmodelPackage#getLinkModel_Delay()
	 * @model required="true"
	 * @generated
	 */
	int getDelay();

	/**
	 * Sets the value of the '{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getDelay <em>Delay</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Delay</em>' attribute.
	 * @see #getDelay()
	 * @generated
	 */
	void setDelay(int value);

	/**
	 * Returns the value of the '<em><b>Failure Probability</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Failure Probability</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Failure Probability</em>' attribute.
	 * @see #setFailureProbability(double)
	 * @see com.googlecode.mailnet.emf.netmodel.NetmodelPackage#getLinkModel_FailureProbability()
	 * @model required="true"
	 * @generated
	 */
	double getFailureProbability();

	/**
	 * Sets the value of the '{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getFailureProbability <em>Failure Probability</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Failure Probability</em>' attribute.
	 * @see #getFailureProbability()
	 * @generated
	 */
	void setFailureProbability(double value);

	/**
	 * Returns the value of the '<em><b>Failure Duration Distribution</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Failure Duration Distribution</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Failure Duration Distribution</em>' reference.
	 * @see #setFailureDurationDistribution(DistributionModel)
	 * @see com.googlecode.mailnet.emf.netmodel.NetmodelPackage#getLinkModel_FailureDurationDistribution()
	 * @model required="true"
	 * @generated
	 */
	DistributionModel getFailureDurationDistribution();

	/**
	 * Sets the value of the '{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getFailureDurationDistribution <em>Failure Duration Distribution</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Failure Duration Distribution</em>' reference.
	 * @see #getFailureDurationDistribution()
	 * @generated
	 */
	void setFailureDurationDistribution(DistributionModel value);

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see com.googlecode.mailnet.emf.netmodel.NetmodelPackage#getLinkModel_Name()
	 * @model required="true"
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link com.googlecode.mailnet.emf.netmodel.LinkModel#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

} // LinkModel
